home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 05.zip / BS1 part 5 / SASC_6.0_Disk_4.adf / Compiler_Headers / Include / hardware / adkbits.h next >
C/C++ Source or Header  |  1992-07-30  |  2KB  |  55 lines

  1. #ifndef    HARDWARE_ADKBITS_H
  2. #define    HARDWARE_ADKBITS_H
  3. /*
  4. **    $Filename: hardware/adkbits.h $
  5. **    $Release: 2.04 Includes, V37.4 $
  6. **    $Revision: 36.2 $
  7. **    $Date: 90/07/10 $
  8. **
  9. **    bit definitions for adkcon register
  10. **
  11. **    (C) Copyright 1985-1991 Commodore-Amiga, Inc.
  12. **        All Rights Reserved
  13. */
  14.  
  15. #define  ADKB_SETCLR    15 /* standard set/clear bit */
  16. #define  ADKB_PRECOMP1    14 /* two bits of precompensation */
  17. #define  ADKB_PRECOMP0    13
  18. #define  ADKB_MFMPREC    12 /* use mfm style precompensation */
  19. #define  ADKB_UARTBRK    11 /* force uart output to zero */
  20. #define  ADKB_WORDSYNC    10 /* enable DSKSYNC register matching */
  21. #define  ADKB_MSBSYNC    9  /* (Apple GCR Only) sync on MSB for reading */
  22. #define  ADKB_FAST    8  /* 1 -> 2 us/bit (mfm), 2 -> 4 us/bit (gcr) */
  23. #define  ADKB_USE3PN    7  /* use aud chan 3 to modulate period of ?? */
  24. #define  ADKB_USE2P3    6  /* use aud chan 2 to modulate period of 3 */
  25. #define  ADKB_USE1P2    5  /* use aud chan 1 to modulate period of 2 */
  26. #define  ADKB_USE0P1    4  /* use aud chan 0 to modulate period of 1 */
  27. #define  ADKB_USE3VN    3  /* use aud chan 3 to modulate volume of ?? */
  28. #define  ADKB_USE2V3    2  /* use aud chan 2 to modulate volume of 3 */
  29. #define  ADKB_USE1V2    1  /* use aud chan 1 to modulate volume of 2 */
  30. #define  ADKB_USE0V1    0  /* use aud chan 0 to modulate volume of 1 */
  31.  
  32. #define  ADKF_SETCLR    (1<<15)
  33. #define  ADKF_PRECOMP1    (1<<14)
  34. #define  ADKF_PRECOMP0    (1<<13)
  35. #define  ADKF_MFMPREC    (1<<12)
  36. #define  ADKF_UARTBRK    (1<<11)
  37. #define  ADKF_WORDSYNC    (1<<10)
  38. #define  ADKF_MSBSYNC    (1<<9)
  39. #define  ADKF_FAST    (1<<8)
  40. #define  ADKF_USE3PN    (1<<7)
  41. #define  ADKF_USE2P3    (1<<6)
  42. #define  ADKF_USE1P2    (1<<5)
  43. #define  ADKF_USE0P1    (1<<4)
  44. #define  ADKF_USE3VN    (1<<3)
  45. #define  ADKF_USE2V3    (1<<2)
  46. #define  ADKF_USE1V2    (1<<1)
  47. #define  ADKF_USE0V1    (1<<0)
  48.  
  49. #define ADKF_PRE000NS    0            /* 000 ns of precomp */
  50. #define ADKF_PRE140NS    (ADKF_PRECOMP0)    /* 140 ns of precomp */
  51. #define ADKF_PRE280NS    (ADKF_PRECOMP1)    /* 280 ns of precomp */
  52. #define ADKF_PRE560NS    (ADKF_PRECOMP0|ADKF_PRECOMP1) /* 560 ns of precomp */
  53.  
  54. #endif    /* HARDWARE_ADKBITS_H */
  55.